}

A. true, true

B. true, false

C. false, true

D. false, false

Q36: Hope you remember the BODMAS rules for the arithmetic

operations. What would be the output of the following function?

// SPDX-License-Identifier: SOME IDENTIFIER

pragma solidity ^0.8.10;

contract LogicalContract {

uint a = 50;

uint b = 10;

uint c = 3;

uint d = 45;

uint e = 20;

function checkBODMAS1() public view returns(bool) {

return a/b*c+d-e == 40;

}

function checkBODMAS2() public view returns(bool) {

return a%b*c+d-e == 40;

}

}

A. true, true

B. true, false

C. false, true

D. false, false

Q37: Which of the following operations would consume gas?

A. Deploying the smart contract

B. Updating the value of state variable